﻿namespace Text2Rss.Web.Services
{
	using NHibernate;
	using Text2Rss.Web.Models;

	public class BaseService
	{
		private ISession session;
		
		/// <summary>
		/// .ctor
		/// </summary>
		/// <param name="session"></param>
		public BaseService(ISession session)
		{
			this.session = session;
		}

		/// <summary>
		/// Gets or sets current session
		/// </summary>
		protected ISession Session
		{
			get
			{
				return session;
			}
		}
	}
}